<nz-alert *ngIf="error" [nzType]="'error'" [nzMessage]="error" [nzShowIcon]="true" class="mb-lg"></nz-alert>
<form nz-form #f="ngForm">
  <nz-form-item>
    <nz-form-control nzErrorTip="请输入用户名">
      <nz-input-group nzSize="large" nzPrefixIcon="user">
        <input required nz-input [(ngModel)]="form.userName" name="userName" placeholder="请输入用户名" (focus)="clearError($event)" />
      </nz-input-group>
    </nz-form-control>
  </nz-form-item>
  <nz-form-item>
    <nz-form-control nzErrorTip="请输入密码">
      <nz-input-group nzSize="large" nzPrefixIcon="lock">
        <input required nz-input type="password" [(ngModel)]="form.password"  name="password" placeholder="请输入密码" (focus)="clearError($event)" />
      </nz-input-group>
    </nz-form-control>
  </nz-form-item>
  <nz-form-item>
      <button nz-button nzType="primary" nzSize="large" [nzLoading]="loading" nzBlock (click)="submit()">
          登录
      </button>
  </nz-form-item>
</form>
<div style="text-align: center">普通用户登录账号: 18888888888 密码: 666666</div>
<div style="text-align: center">管理员登录账号: 13543501039 密码: 123456</div>
<div style="text-align: center">超级管理员登录账号: 18376686974 密码: 123456</div>
